package com.edais.dao;

import com.edais.domain.UserRecePayCard;
import com.edais.persistence.WithdrawsCashMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository

public class WithdrawsCashDao {
	@Autowired
	private WithdrawsCashMapper withdrawsCashMapper;
	
	public String getExtractFeeRate(String key) throws Exception {
		return this.withdrawsCashMapper.getExtractFeeRate(key);
	}
	
	public UserRecePayCard getRecePayBankInfo(String isValid,String id,String userId) throws Exception {
		return this.withdrawsCashMapper.getRecePayBankInfo(isValid,id,userId);
	}

	public UserRecePayCard getRecePayBankInfoByUserId(String userId) throws Exception {
		return this.withdrawsCashMapper.getRecePayBankInfoByUserId(userId);
	}
	
}
